package ru.silviasaint.fridge.server.dao;

import java.sql.SQLException;

import ru.silviasaint.fridge.server.dao.impl.DaoException;
import ru.silviasaint.fridge.server.dao.impl.ProductDaoImpl;

public class DaoFactory {

	public ProductDao getProductDao() throws DaoException {
		try {
			return new ProductDaoImpl();
		} catch (SQLException e) {
			throw new DaoException(e);
		}
	}
}
